from sqlalchemy import Column
from sqlalchemy.sql.sqltypes import Integer, String, Text, TIMESTAMP
from sqlalchemy.ext.declarative import declarative_base

Base = declarative_base()

class EndCase(Base):
    __tablename__ = "TYC_JR_END_CASE"
    CASECODE = Column(String(255))
    CASEFINALTIME = Column(Integer)
    BUSINESSID	 = Column(String(255))
    CASECREATETIME   = Column(Integer)
    EXECCOURTNAME   = Column(String(255))
    EXECMONEY   = Column(String(255))
    NOEXECMONEY   = Column(String(255))
    ZNAME   = Column(String(255))
    CID   = Column(Integer)

    ENTNAME = Column(String(100))
    PRIPID = Column(String(36))
    REGNO = Column(String(50))
    UNISCID = Column(String(18))
    CREATE_TIME = Column(TIMESTAMP)
    UPDATE_TIME = Column(TIMESTAMP)